Add some additional docs on precision here too. (#309238, Steve Chaplin)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jul 2005 03:21:02 +0000 (03:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 8 Jul 2005 03:21:02 +0000 (03:21 +0000)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkhscale.c (gtk_hscale_new_with_range):
(gtk_vscale_new_with_range): Add some additional docs on
precision here too.  (#309238, Steve Chaplin)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkhscale.c
gtk/gtkvscale.c

index 8d972b7659b393b0436ff1c12790e74647bba7bd..5cb77bc73b7229508d1211a620c07481ce1df01a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-07-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkhscale.c (gtk_hscale_new_with_range): 
+       (gtk_vscale_new_with_range): Add some additional docs on 
+       precision here too.  (#309238, Steve Chaplin)
+
        * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
        generate events on destroyed windows.
 
index 8d972b7659b393b0436ff1c12790e74647bba7bd..5cb77bc73b7229508d1211a620c07481ce1df01a 100644 (file)
@@ -1,5 +1,9 @@
 2005-07-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkhscale.c (gtk_hscale_new_with_range): 
+       (gtk_vscale_new_with_range): Add some additional docs on 
+       precision here too.  (#309238, Steve Chaplin)
+
        * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
        generate events on destroyed windows.
 
index 8d972b7659b393b0436ff1c12790e74647bba7bd..5cb77bc73b7229508d1211a620c07481ce1df01a 100644 (file)
@@ -1,5 +1,9 @@
 2005-07-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkhscale.c (gtk_hscale_new_with_range): 
+       (gtk_vscale_new_with_range): Add some additional docs on 
+       precision here too.  (#309238, Steve Chaplin)
+
        * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
        generate events on destroyed windows.
 
index 87c742789801b5606511138639a728bcc0e34c25..43b84738eed06a86d47f2bb4b39b9d23f0bb2460 100644 (file)
@@ -118,6 +118,10 @@ gtk_hscale_new (GtkAdjustment *adjustment)
  * increment @step.  @step must be nonzero; it's the distance the
  * slider moves when using the arrow keys to adjust the scale value.
  * 
+ * Note that the way in which the precision is derived works best if @step 
+ * is a power of ten. If the resulting precision is not suitable for your 
+ * needs, use gtk_scale_set_digits() to correct it.
+ * 
  * Return value: a new #GtkHScale
  **/
 GtkWidget*
index dfb043fa6bd1d71bc50d4c1ac7e41953075f5fef..ed2e8e9081765c34f43350c52dee6f60fc21ab47 100644 (file)
@@ -120,6 +120,10 @@ gtk_vscale_new (GtkAdjustment *adjustment)
  * increment @step.  @step must be nonzero; it's the distance the
  * slider moves when using the arrow keys to adjust the scale value.
  * 
+ * Note that the way in which the precision is derived works best if @step 
+ * is a power of ten. If the resulting precision is not suitable for your 
+ * needs, use gtk_scale_set_digits() to correct it. 
+ * 
  * Return value: a new #GtkVScale
  **/
 GtkWidget*